package org.example.sprojcet.entitys.properties;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.junit.rules.Verifier;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;
import java.util.List;

/**
 * Sa-Token配置属性类
 * 用于配置白名单等Sa-Token相关属性
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sa-config")
@AllArgsConstructor
@NoArgsConstructor
public class SatokenProperties implements Serializable {
    private static final long serialVersionUID = 1L;
    
    /**
     * 白名单路径列表
     * 这些路径不需要登录验证
     */
    private List<String> whitelist;
    private String VerifyKey;
}
